#
# HoI - Sweden Events
#
#		written by Henrik Fhraeus
#

#########################################################################
#  The Finnish Winter War - Swedish Direct Intervention
#########################################################################
event = {
	id = 3300
	random = no
	country = SWE

	trigger = {
		war = { country = SOV country = FIN }
		event = 2621 #Finnish Winter War-Demands rejected
		OR = {
			ideology = social_conservative
			ideology = paternal_autocrat
			ideology = fascist
			ideology = nazi
		}
		NOT = {
			alliance = { country = FIN country = GER }
			alliance = { country = SWE country = GER }
			alliance = { country = SWE country = ENG }
			alliance = { country = SWE country = SOV }
		}
	}

	name = "EVT_3300_NAME"
	desc = "EVT_3300_DESC"
        picture = "sweden_helps_finland"
	style = 0

	date = { day = 17 month = july year = 1936 }
	offset = 7
	deathdate = { day = 31 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME3300A" # Intervene for our brother people!
		ai_chance = 90
		command = { type = belligerence which = SWE value = 1 }
		command = { type = alliance which = FIN }
#		command = { type = war which = SOV }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = relation which = FIN value = 25 }
		command = { type = relation which = NOR value = 10 }
		command = { type = trigger which = 3202 } # FIN
		command = { type = setflag which = anti_bolshevik_sweden }
	}
	action_b = {
		name = "ACTIONNAME3300B" # Send volunteers and materiel
		ai_chance = 10
		command = { type = manpowerpool value = -10 }
		command = { type = supplies value = -1000 }
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = FIN value = 10 }
		command = { type = relation which = NOR value = 5 }
		command = { type = trigger which = 3201 } # FIN
	}
}

#########################################################################
#  The Finnish Winter War - Swedish Non-Intervention
#########################################################################
event = {
	id = 3301
	random = no
	country = SWE

	trigger = {
		war = { country = SOV country = FIN }
		event = 2621 #Finnish Winter War-Demands rejected
		atwar = no
		NOT = {
			OR = {
				ideology = social_conservative
				ideology = paternal_autocrat
				ideology = fascist
				ideology = nazi
			}
		}
		NOT = {
			alliance = { country = FIN country = GER }
		}
	}

	name = "EVT_3301_NAME"
	desc = "EVT_3301_DESC"
        picture = "per_albin"
	style = 0

	date = { day = 17 month = july year = 1936 }
	offset = 7
	deathdate = { day = 31 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME3301A" # Send volunteers and materiel
		ai_chance = 98
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = FIN value = 10 }
		command = { type = relation which = NOR value = 5 }
		command = { type = manpowerpool value = -10 }
		command = { type = supplies value = -1000 }
		command = { type = trigger which = 3201 } # FIN
	}
	action_b = {
		name = "ACTIONNAME3301B" # Intervene for our brother people!
		ai_chance = 2
		command = { type = belligerence which = SWE value = 1 }
		command = { type = alliance which = FIN }
#		command = { type = war which = SOV }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = relation which = FIN value = 25 }
		command = { type = relation which = NOR value = 10 }
		command = { type = access which = FIN }
		command = { type = trigger which = 3202 } # FIN
		command = { type = setflag which = anti_bolshevik_sweden }
	}
}

#########################################################################
#  End of the Swedish Winter War
#########################################################################
event = {
	id = 3302
	random = no
	country = SWE

	# Triggered by SOV 2630

	name = "EVT_3302_NAME"
	desc = "EVT_3302_DESC"
        picture = "finland_sweden"
	style = 0


	action_a = {
		name = "ACTIONNAME3302A" # Accept Peace Proposal
		command = { type = peace which = SOV value = 1 }
		command = { type = relation which = SOV value = 10 }
		command = { type = dissent value = -10 }
		command = { type = trigger which = 2631 } # SOV
	}
}
#########################################################################
#  The Summer Government
#########################################################################
event = {
	id = 3303
	random = no
	country = SWE

	trigger = {
	}
	

	name = "EVT_3303_NAME"
	desc = "EVT_3303_DESC"
        picture = "summergovernment"
	style = 0

	date = { day = 19 month = june year = 1936 }
	offset = 1

	action_a = {
		name = "ACTIONNAME3303A" # Install our allies
		command = { type = set_domestic	which = political_left value = 6 }
		command = { type = set_domestic	which = free_market value = 7 }
		command = { type = headofgovernment which = 7002 } #Axel Pehrsson-Bramstorp
		command = { type = foreignminister which = 7003 } #Karl G. Westman
		command = { type = armamentminister which = 7004 } #Vilmar Ljungdahl
		command = { type = ministerofsecurity which = 7005 } #Thorwald Bergquist
	}
}
#########################################################################
#  The End of the Summer Government
#########################################################################
event = {
	id = 3304
	random = no
	country = SWE

	trigger = {
			OR = {
				ideology = social_conservative
				ideology = market_liberal
				ideology = social_liberal
				ideology = social_democrat
				}
	}
	

	name = "EVT_3304_NAME"
	desc = "EVT_3303_DESC"
        picture = "per_albin"
	style = 0

	date = { day = 28 month = september year = 1936 }
	offset = 1

	action_a = {
		name = "ACTIONNAME3304A" # Return to power
		command = { type = set_domestic	which = political_left value = 10 }
		command = { type = set_domestic	which = free_market value = 6 }
		command = { type = headofgovernment which = 7033 } #Per Albin Hansson
		command = { type = foreignminister which = 7038 } #Richard Sandler
		command = { type = armamentminister which = 7047 } #Ernst Wigforss
		command = { type = ministerofsecurity which = 7058 } #Karl Schlyter 
	}
}

### Hazai harckocsigyrts megteremtse 1B
###################################
event = {
	id = 90141
	random = no
	country = SWE

##trigger 90140-rl (Magyarorszg)
	style = 0
	name = "EVT_90141_NAME"
	desc = "EVT_90141_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90141A"
		command = { type = trigger which = 90142 }
		ai_chance = 70
	}
	action_b = {
		name = "ACTIONNAME90141B"
		command = { type = trigger which = 90143 }
		ai_chance = 27
	}
	action_c = {
		name = "ACTIONNAME90141C"
		command = { type = relation which = HUN value = -5 }
		ai_chance = 3
	}
}

### Hazai harckocsigyrts megteremtse 1C1A
###################################
event = {
	id = 90144
	random = no
	country = SWE

##trigger 90142-rl, 90147-rl s 90157-rl (Magyarorszg)
	style = 0
	name = "EVT_90144_NAME"
	desc = "EVT_90144_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90144A"
		command = { type = money value = 20 }
		command = { type = relation which = HUN value = 10 }
		ai_chance = 100
	}
}

### Hazai harckocsigyrts megteremtse 1C2A
###################################
event = {
	id = 90145
	random = no
	country = SWE

##trigger 90143-rl (Magyarorszg)
	style = 0
	name = "EVT_90144_NAME"
	desc = "EVT_90144_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90144A"
		command = { type = money value = 60 }
		command = { type = relation which = HUN value = 15 }
		ai_chance = 100
	}
}

### Hazai harckocsigyrts megteremtse 1C2B
###################################
event = {
	id = 90146
	random = no
	country = SWE

##trigger 90143-rl (Magyarorszg)
	style = 0	
	name = "EVT_90146_NAME"
	desc = "EVT_90146_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90146A"
		command = { type = trigger which = 90147 }
		ai_chance = 40
	}
	action_b = {
		name = "ACTIONNAME90146B"
		command = { type = trigger which = 90148 }
		ai_chance = 40
	}
	action_c = {
		name = "ACTIONNAME90146C"
		command = { type = relation which = HUN value = -5 }
		ai_chance = 20
	}
}

### Hazai harckocsigyrts megteremtse 1C2A
###################################
event = {
	id = 90149
	random = no
	country = SWE

##trigger 90148-rl (Magyarorszg)
	style = 0	
	name = "EVT_90144_NAME"
	desc = "EVT_90144_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90144A"
		command = { type = money value = 50 }
		command = { type = relation which = HUN value = 10 }
		ai_chance = 100
	}
}

### Nimrod 1
###################################
event = {
	id = 90151
	random = no
	country = SWE

##trigger 90150-rl (Magyarorszg)
	style = 0
	name = "EVT_90151_NAME"
	desc = "EVT_90151_DESC"
	picture = "landsverk62"

	action_a = {
		name = "ACTIONNAME90151A"
		command = { type = money value = 20 }
		command = { type = relation which = HUN value = 5 }
		command = { type = trigger which = 90152 }
		ai_chance = 95
	}
	action_b = {
		name = "ACTIONNAME90151B"
		command = { type = relation which = HUN value = -10 }
		ai_chance = 5
	}
}

### Nimrod 2
###################################
event = {
	id = 90154
	random = no
	country = SWE

##trigger 90153-rl (Magyarorszg)
	style = 0
	name = "EVT_90151_NAME"
	desc = "EVT_90154_DESC"
	picture = "landsverk62"

	action_a = {
		name = "ACTIONNAME90151A"
		command = { type = money value = 15 }
		command = { type = relation which = HUN value = 5 }
		command = { type = trigger which = 90155 }
		ai_chance = 95
	}
	action_b = {
		name = "ACTIONNAME90151B"
		command = { type = relation which = HUN value = -10 }
		ai_chance = 5
	}
}

### Hazai harckocsigyrts megteremtse 1C2C
###################################
event = {
	id = 90156
	random = no
	country = SWE

##trigger 90143-rl (Magyarorszg)
	style = 0
	name = "EVT_90156_NAME"
	desc = "EVT_90156_DESC"
	picture = "landsverk60"

	action_a = {
		name = "ACTIONNAME90156A"
		command = { type = trigger which = 90157 }
		ai_chance = 40
	}
	action_b = {
		name = "ACTIONNAME90156B"
		command = { type = trigger which = 90158 }
		ai_chance = 40
	}
	action_c = {
		name = "ACTIONNAME90156C"
		command = { type = relation which = HUN value = -5 }
		ai_chance = 20
	}
}

#########################################################################
#  Skandinvia megalaktsa
#########################################################################
event = {
	id = 91274
	random = no
	country = SWE

	trigger = {
		NOT = {
			OR = {
				ideology = stalinist
				ideology = leninist
				ideology = left_wing_radical
			}
		}
		control = { province = 107 data = SWE } #Oslo
		control = { province = 98 data = SWE } #Gteborg
		control = { province = 93 data = SWE } #Malm
		control = { province = 101 data = SWE } #Stockholm
		control = { province = 294 data = SWE } #Koppenhga
		owned = { province = 107 data = SWE } #Oslo
		owned = { province = 98 data = SWE } #Gteborg
		owned = { province = 93 data = SWE } #Malm
		owned = { province = 101 data = SWE } #Stockholm
		owned = { province = 294 data = SWE } #Koppenhga
		NOT = {
			atwar = NOR
			atwar = DEN
		}
	}

	name = "EVT_91274_NAME"
	desc = "EVT_91274_DESC"
	picture = "uppsala"
	style = 0

	date = { day = 0 month = january year = 1937 }
	offset = 30
	deathdate = { day = 31 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME91274A" # Hurr
		ai_chance = 70
		command = { type = belligerence which = SWE value = 2 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = freedom value = 1 }
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = ENG value = -10 }
		command = { type = relation which = GER value = -20 }
		command = { type = money value = -500 } #sokba kerl
		command = { type = country which = SCA }
		command = { type = inherit which = NOR }
		command = { type = inherit which = DEN }
		command = { type = trigger which = 91289 }
	}
	action_b = {
		name = "ACTIONNAME91274B" # Minek...
		ai_chance = 30
		command = { type = belligerence which = SWE value = -1 }
		command = { type = domestic which = interventionism value = -1 }
		command = { type = domestic which = freedom value = -1 }
	}
}
